import Vue from 'vue'
import ElementUI from 'element-ui';

import App from './App'
import store from './store'
import 'element-ui/lib/theme-chalk/index.css';
import md5 from 'js-md5';
// 注册API
import allApi from './utils/Request.js';
import './icons'

import router from './router'

import 'lib-flexible'

Vue.prototype.api = allApi;
Vue.prototype.$MD5 = md5;
Vue.use(ElementUI);
Vue.prototype.$bus = new Vue();


Vue.config.productionTip = false
/* eslint-disable no-new */

new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
